#include "LinkedQueue.h"

void test1() {
    LinkedQueue* queue = init_queue();
    printf("is_empty: %d\n", is_empty(queue));
    for (int i = 0; i < 10; i++) {
        enqueue(queue, i);
    }
    printf("dequque: %d\n", dequeue(queue));
    printf("size: %d\n", size(queue));
    dequeue_all(queue);
    clear_queue(queue);
}

int main() {
    void (*test[])(void) = {test1};
    for (int i = 0; i < sizeof(test) / sizeof(test[0]); i++) {
        test[i]();
    }
    return 0;
}